package com.mindskip.xzs.viewmodel.student.exampaper;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author artka
 * @description:
 * @date 2022/9/22 10:49 PM
 */
@Data
public class ExamInfoRes {

    private Long examId;
    private String examName;
    private String examCategory;
    /**
     * @see com.mindskip.xzs.domain.enums.ExamStatusEnum
     */
    private Integer examStatus;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime publishTime;

    private Integer paperId;
    private String paperName;
    /**
     * @see com.mindskip.xzs.domain.enums.ExamTypeEnum
     */
    private Integer examType;
    /**
     * ExamUtil.scoreToVM
     */
    private String paperScore;
    private Integer paperScoreInt;
    private Integer paperQuestionCount;
    private Boolean repetition;
    /**
     * 考试时长(分钟)
     */
    private Integer paperSuggestTime;
    @JsonIgnore
    private LocalDateTime limitStartTime;
    private String limitStartTimeStr;
    @JsonIgnore
    private LocalDateTime limitEndTime;
    private String limitEndTimeStr;
}
